<?php


namespace App\Logic\sick;


use App\Models\Sick;
use App\Server\ApiService;

class CreateSick
{
    public static function createSick($data)
    {
        $data = Sick::create($data);
        if ($data)
        {
            return ApiService::success('添加患者成功',$data);
        } else {
            return ApiService::fail('添加患者失败');
        }
    }
}
